<script type="text/javascript">
  $(document).ready(function(){
    $("#post_category_id").chained("#parent_category");
  });
</script>
<h1>修改文章</h1>

<%= render 'form' %>

<%= link_to '查看', @post %> |
<%= link_to '后退', posts_path %>
